<!--
<div class="panel panel-default">
    <div class="panel-heading">最新文档</div>
    <div class="panel-body commlist">
<ul>
{loop $arrArticle $key $item}
<li><a href="{tsUrl('article','show',array('id'=>$item['articleid']))}">{$item['title']}</a></li>
{/loop}
</ul>
</div>
</div>
-->
<div class="panel panel-default">
    <div class="panel-heading">最新文档</div>
        
<div class="panel-body article_list">
    <ul>
        {loop $arrArticle $key $item}
        <li>
            <div class="userimg"><a href="{tsUrl('user','duty',array('id'=>$item[user][userid]))}"><img class="img-rounded" src="{$item[user][face]}" width="32" height="32" alt="{$item['user']['username']}" title="{$item['user']['username']}" /></a></div>

            <div class="article_title">
                <div class="title">

                    {if $item['appkey'] != 'article' && $item['appkey']!=''}
                    <a target="_blank" style="color:#999999;font-size: 12px;margin-right: 5px;" class="titles-type" href="{SITE_URL}{php echo tsUrl($item['appkey'])}">[{$item['appname']}]</a>
                    <a title="{$item[title]}" href="{SITE_URL}{php echo tsUrl($item['appkey'],$item['appaction'],array('id'=>$item['appid']))}{$mylink}">{$item[title]}</a>
                    {else}
                    <a title="{$item[title]}" href="{tsUrl('article','show',array('id'=>$item[articleid]))}{$mylink}">{$item[title]}</a>
                    {/if}


                </div>
                <div class="article_info">
<span style="float:left;">

<a href="{tsUrl('user','duty',array('id'=>$item[userid]))}">{$item[user][username]}</a>
    {php echo getTime($item[addtime],time())}
</span>

<span style="float:right;">
    <a href="{tsUrl('article','group',array('groupid'=>$item['groupid']))}">{if $item[groupid]}{$item[group][groupname]}{else}广播{/if}</a>




{if $item[count_comment]>0}<a class="rank" style="color:#FFFFFF;" href="{tsUrl('article','show',array('id'=>$item[articleid]))}">{$item[count_comment]}</a>{/if}
</span>
                </div>

            </div>
            <div class="article_content" style="padding-top: 10px" onclick="jump('{php echo(tsUrl('article','show',array('id'=>$item[articleid])).$mylink)}')">{$item['abs']}</div>
            <div class="clear"></div>
        </li>
        {/loop}
        <li style="float:right;border-bottom: 0px;"><a href="{tsUrl('article')}"><img src="{SITE_URL}public/images/right.png" style="height:15px"></img></a></li>
    </ul>
</div>

</div>